<?php

namespace app\api\model;

use app\api\constant\ConfigConst;

/**
 * 商品模型
 * @method static getById(int $id)
 */
class Goods extends BaseModel
{
    protected $table = 'fa_store_goods';

    public function getGoodsImageAttr($value)
    {
        return ConfigConst::APP_URL . $value;
    }
}